package com.xbdun.web.validatebmp.controller.qr;

import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.xbdun.common.api.XbdUnObjectResult;
import com.xbdun.web.validatebmp.frame.gateway.AbWayController;
import com.xbdun.web.validatebmp.frame.gateway.BaseMacRequest;

/**
* @ClassName: GatawayController
* @Description: 商城系统对外开放接口
* @category 商城系统对外开放接口
* @author zhanggt 360730440@qq.com
* @date 2017年5月19日 下午6:37:00
 */
@Controller
@RequestMapping("/validate")
public class GatawayValidateController extends AbWayController {

	@ModelAttribute("args")
	@Override
	public Object getServiceMethod() {
		return super.getServiceMethod();
	}

	@Override
	@RequestMapping("gataway.zhtm")
	@ResponseBody
	public XbdUnObjectResult gateway(HttpServletResponse response,BaseMacRequest baseMacRequest,@ModelAttribute("args")Object commReqeust) {
		return super.gateway(response, baseMacRequest, commReqeust);
	}
}
